package com.af.system.tree;

import java.util.List;

/**
 * @author : zhenyun.su
 * @since : 2023/3/22
 * @Comment: 可节点的接口
 */

public interface AfNodeable<T> {
    Long getId();

    Long getPid();

    Boolean getLeafed();

    void setLeafed(Boolean leafed);

    List<? extends T> getChildren();

    void setChildren(List<? extends T> children);
}
